package com.ltu.domain.mp_entity.customize;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ltu.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会话表
 * </p>
 * @author 若尘
 * @since 2024-10-17
 */
@Accessors(chain = true)
@TableName("tb_session_info")
@ApiModel(value="SessionInfoEntity对象", description="会话表")
public class SessionInfoEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

		  @ApiModelProperty(value = " create_time:创建时间 ")
		 		  private Date createTime;
    	  @ApiModelProperty(value = " create_oper:创建者 ")
		 		  private String createOper;
    	  @ApiModelProperty(value = " update_time:操作时间 ")
		 		  private Date updateTime;
    	  @ApiModelProperty(value = " update_oper:操作人 ")
		 		  private String updateOper;
    	  @ApiModelProperty(value = " del_flag:删除标识 0 未删除 1 已删除 ")
		 		  private Integer delFlag;
    	  @ApiModelProperty(value = " session_name:会话名称 ")
		 		  private String sessionName;
    	  @ApiModelProperty(value = " device_mac:设备码 ")
		 		  private String deviceMac;
    	  @ApiModelProperty(value = " device_mac:设备码 ")
		 		  private String deviceName;
    	  @ApiModelProperty(value = "设备位置 ")
    	  private String devicePosition;
    	  @ApiModelProperty(value = " device_id:设备id ")
		 		  private Integer deviceId;
    	  @ApiModelProperty(value = " status:会话状态（session_status） ")
		 		  private String status;
    	  @ApiModelProperty(value = " type:类型 ")
		 		  private String type;
    	  @ApiModelProperty(value = " all_consumer_token:总token消耗 ")
		 		  private Integer allConsumerToken;
    	  @ApiModelProperty(value = " chat_model_id:最近一次使用的模型ID ")
		 		  private Integer chatModelId;
    	  
    	  @ApiModelProperty(value = " 消耗的totalToken ")
    	  private Integer totalToken;
    	  @ApiModelProperty(value = " 对话用户 ")
    	  private  Integer userId;
    	  @ApiModelProperty(value = " 对话用户 ")
    	  private  String userName;
    	  
    	  @ApiModelProperty(value = " 电话 ")
    	  private  String userPhone;
    	  @ApiModelProperty(value = " 头像")
    	  private  String userAvatar;
    	  
    	  @ApiModelProperty(value = "会话领域")
    	  private  String sessionField;
    	  
    	  @ApiModelProperty(value = "会话领域")
    	  private  Integer sessionFieldId;
    	  
    	  @ApiModelProperty(value = "是否已标记会话")
    	  private  Integer sessionFieldFlag;
    	  
    	  @ApiModelProperty(value = " 微信小程序二维码路径 ")
		 		  private String wxQrCode;
    	  @ApiModelProperty(value = " 问了几次问题 ")
    	  private  Integer totalQuestion;
    	  @ApiModelProperty(value = " 是否已跟进0否1是")
    	  private  Integer handleFlag;
    	  @ApiModelProperty(value = " 跟进时间")
    	  private  Date handleFlagTime;
    	  @ApiModelProperty(value = "设备所属类型，如政务，商务，教育等")
    	  private String deviceType;
    	  
    	  @ApiModelProperty(value = "客服经理ID")
    	  private  Integer accountId;
    	  @ApiModelProperty(value = "客服经理")
    	  private  String accountName;
    	  
    	  @ApiModelProperty(value = "跟进人ID")
    	  private  Integer accountId2;
    	  @ApiModelProperty(value = "跟进人")
    	  private  String accountName2;
    	  
    	  
    	
     	  @TableField(exist = false)
     	  @ApiModelProperty(required = false,hidden = true)
      	  private List<SessionRecordEntity>  list;

     	 @ApiModelProperty(value="是否过滤用户绑定记录0否1是默认是1",required=false)
     	 @TableField(exist = false)
         private Integer queryType=1;
     	 
     	 
     	 
     	 
		public Integer getAccountId() {
			return accountId;
		}
		public void setAccountId(Integer accountId) {
			this.accountId = accountId;
		}
		public String getAccountName() {
			return accountName;
		}
		public void setAccountName(String accountName) {
			this.accountName = accountName;
		}
		public Integer getAccountId2() {
			return accountId2;
		}
		public void setAccountId2(Integer accountId2) {
			this.accountId2 = accountId2;
		}
		public String getAccountName2() {
			return accountName2;
		}
		
		public void setAccountName2(String accountName2) {
			this.accountName2 = accountName2;
		}
		
		public Date getHandleFlagTime() {
			return handleFlagTime;
		}
		public void setHandleFlagTime(Date handleFlagTime) {
			this.handleFlagTime = handleFlagTime;
		}
		public Integer getQueryType() {
			return queryType;
		}
		public void setQueryType(Integer queryType) {
			this.queryType = queryType;
		}
		public Integer getSessionFieldId() {
			return sessionFieldId;
		}
		public void setSessionFieldId(Integer sessionFieldId) {
			this.sessionFieldId = sessionFieldId;
		}
		public Integer getSessionFieldFlag() {
			return sessionFieldFlag;
		}
		public void setSessionFieldFlag(Integer sessionFieldFlag) {
			this.sessionFieldFlag = sessionFieldFlag;
		}
		public String getSessionField() {
			return sessionField;
		}
		public void setSessionField(String sessionField) {
			this.sessionField = sessionField;
		}
		public String getDevicePosition() {
			return devicePosition;
		}
		public void setDevicePosition(String devicePosition) {
			this.devicePosition = devicePosition;
		}
		public List<SessionRecordEntity> getList() {
			return list;
		}
		
		public String getDeviceType() {
			return deviceType;
		}
		public void setDeviceType(String deviceType) {
			this.deviceType = deviceType;
		}
		public void setList(List<SessionRecordEntity> list) {
			this.list = list;
		}
    	public Integer getHandleFlag() {
			return handleFlag;
		}
		public void setHandleFlag(Integer handleFlag) {
			this.handleFlag = handleFlag;
		}
		public String getDeviceName() {
			return deviceName;
		}
		public SessionInfoEntity setDeviceName(String deviceName) {
			this.deviceName = deviceName;
			return this;
		}
		public String getUserPhone() {
			return userPhone;
		}
		public void setUserPhone(String userPhone) {
			this.userPhone = userPhone;
		}
	
		public String getUserAvatar() {
			return userAvatar;
		}
		public void setUserAvatar(String userAvatar) {
			this.userAvatar = userAvatar;
		}
		/**
		 * 创建时间
		 */
	    public Date getCreateTime() {
	        return createTime;
	    }
		/**
		 * 创建时间
		 */
	    public SessionInfoEntity setCreateTime(Date createTime) {
	       this.createTime = createTime;
	        return this;
	    }
		/**
		 * 创建者
		 */
	    public String getCreateOper() {
	        return createOper;
	    }
		/**
		 * 创建者
		 */
	    public SessionInfoEntity setCreateOper(String createOper) {
	       this.createOper = createOper;
	        return this;
	    }
		/**
		 * 操作时间
		 */
	    public Date getUpdateTime() {
	        return updateTime;
	    }
		/**
		 * 操作时间
		 */
	    public SessionInfoEntity setUpdateTime(Date updateTime) {
	       this.updateTime = updateTime;
	        return this;
	    }
		/**
		 * 操作人
		 */
	    public String getUpdateOper() {
	        return updateOper;
	    }
		/**
		 * 操作人
		 */
	    public SessionInfoEntity setUpdateOper(String updateOper) {
	       this.updateOper = updateOper;
	        return this;
	    }
		/**
		 * 删除标识 0 未删除 1 已删除
		 */
	    public Integer getDelFlag() {
	        return delFlag;
	    }
		/**
		 * 删除标识 0 未删除 1 已删除
		 */
	    public SessionInfoEntity setDelFlag(Integer delFlag) {
	       this.delFlag = delFlag;
	        return this;
	    }
		/**
		 * 会话名称
		 */
	    public String getSessionName() {
	        return sessionName;
	    }
		/**
		 * 会话名称
		 */
	    public SessionInfoEntity setSessionName(String sessionName) {
	       this.sessionName = sessionName;
	        return this;
	    }
		/**
		 * 设备码
		 */
	    public String getDeviceMac() {
	        return deviceMac;
	    }
		/**
		 * 设备码
		 */
	    public SessionInfoEntity setDeviceMac(String deviceMac) {
	       this.deviceMac = deviceMac;
	        return this;
	    }
		/**
		 * 设备id
		 */
	    public Integer getDeviceId() {
	        return deviceId;
	    }
		/**
		 * 设备id
		 */
	    public SessionInfoEntity setDeviceId(Integer deviceId) {
	       this.deviceId = deviceId;
	        return this;
	    }
		/**
		 * 会话状态（session_status）
		 */
	    public String getStatus() {
	        return status;
	    }
		/**
		 * 会话状态（session_status）
		 */
	    public SessionInfoEntity setStatus(String status) {
	       this.status = status;
	        return this;
	    }
		/**
		 * 类型
		 */
	    public String getType() {
	        return type;
	    }
		/**
		 * 类型
		 */
	    public SessionInfoEntity setType(String type) {
	       this.type = type;
	        return this;
	    }
		/**
		 * 总token消耗
		 */
	    public Integer getAllConsumerToken() {
	        return allConsumerToken;
	    }
		/**
		 * 总token消耗
		 */
	    public SessionInfoEntity setAllConsumerToken(Integer allConsumerToken) {
	       this.allConsumerToken = allConsumerToken;
	        return this;
	    }
		/**
		 * 最近一次使用的模型ID
		 */
	    public Integer getChatModelId() {
	        return chatModelId;
	    }
		/**
		 * 最近一次使用的模型ID
		 */
	    public SessionInfoEntity setChatModelId(Integer chatModelId) {
	       this.chatModelId = chatModelId;
	        return this;
	    }
		public String getWxQrCode() {
			return wxQrCode;
		}
		public void setWxQrCode(String wxQrCode) {
			this.wxQrCode = wxQrCode;
		}
		public Integer getTotalToken() {
			return totalToken;
		}
		public void setTotalToken(Integer totalToken) {
			this.totalToken = totalToken;
		}
		public Integer getTotalQuestion() {
			return totalQuestion;
		}
		public void setTotalQuestion(Integer totalQuestion) {
			this.totalQuestion = totalQuestion;
		}
		public Integer getUserId() {
			return userId;
		}
		public void setUserId(Integer userId) {
			this.userId = userId;
		}
		public String getUserName() {
			return userName;
		}
		public void setUserName(String userName) {
			this.userName = userName;
		}
	




}
